package com.example.sunnyweather

import android.app.Application
import android.content.Context
import java.text.SimpleDateFormat
import java.util.*


class SunnyWeatherApplication : Application(){

    companion object{
        lateinit var context: Context
        val simpleDateFormat:SimpleDateFormat = SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss")
        // 发现彩云不用token参数也能搜索城市
        const val TOKEN="令牌值"
    }


    override fun onCreate() {
        super.onCreate()
        context=applicationContext
    }
}